package com.itmuch.cloud;

import org.springframework.cloud.netflix.feign.FeignClient;

import com.itmuch.cloud.user.User;
import com.itmuch.config.Configurationl;

import feign.Param;
import feign.RequestLine;

@FeignClient(name="microservice-provider-user",configuration=Configurationl.class)
public interface UsedrFeignClient {
	
	@RequestLine(value="GET /simple/{id}")
	public User findById(@Param("id") Long id);
	
	
}
